package com.demo3;

public class Cat extends Animal{

    //继承抽象类必须实现抽象方法

    @Override
    public void eat() {
        System.out.println("小猫爱吃鱼");
    }
}
